package com.cmit.np.xhzw.sync.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.zkl.common.web.app.base.BaseModel;
import com.baomidou.mybatisplus.annotation.TableField;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import java.io.Serializable;

/**
 * <p>
 * ?????
 * </p>
 *
 * @author zhoushuang
 * @since 2021-09-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("NP_IN_MSISDN")
@ApiModel(value="NpInMsisdn对象", description="?????")
public class NpInMsisdn extends BaseModel<NpInMsisdn> {


    @ApiModelProperty(value = "NP??")
    @TableField("NP_CODE")
    private String npCode;

    @ApiModelProperty(value = "??ID?????")
    @TableField("PORT_OUT_NET_ID")
    private String portOutNetId;

    @ApiModelProperty(value = "??ID?????")
    @TableField("PORT_IN_NET_ID")
    private String portInNetId;

    @ApiModelProperty(value = "??ID???????")
    @TableField("HOME_NET_ID")
    private String homeNetId;

    @ApiModelProperty(value = "NP?????????")
    @TableId("EFFC_TM")
    private Date effcTm;

    @ApiModelProperty(value = "?????????")
    @TableField("EXPIRED_TM")
    private Date expiredTm;

    @ApiModelProperty(value = "?????????")
    @TableField("OPT_TM")
    private Date optTm;

    @ApiModelProperty(value = "?????I ??,D ??,U ??")
    @TableField("OPT_TYPE")
    private String optType;

    @ApiModelProperty(value = "????")
    @TableField("LD_AREA_CD")
    private String ldAreaCd;

    @ApiModelProperty(value = "???")
    @TableField("PROV_CD")
    private String provCd;


    public static final String NP_CODE = "NP_CODE";

    public static final String PORT_OUT_NET_ID = "PORT_OUT_NET_ID";

    public static final String PORT_IN_NET_ID = "PORT_IN_NET_ID";

    public static final String HOME_NET_ID = "HOME_NET_ID";

    public static final String EFFC_TM = "EFFC_TM";

    public static final String EXPIRED_TM = "EXPIRED_TM";

    public static final String OPT_TM = "OPT_TM";

    public static final String OPT_TYPE = "OPT_TYPE";

    public static final String LD_AREA_CD = "LD_AREA_CD";

    public static final String PROV_CD = "PROV_CD";

    @Override
    protected Serializable pkVal() {
        return this.effcTm;
    }

}
